package org.jie.guider.framework.springboot.web.colltroller;

import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiJie
 */
@RestController
@RequestMapping("sp")
public class SpColltroller {
    private static final Logger LOG =
        LoggerFactory.getLogger(SpColltroller.class);

    @PostMapping("send")
    public Object send(@RequestBody Map<String, Object> data) {
//        return data.get("callback");
        return "ok";
    }
}
